import React from 'react'
import { useParams } from 'react-router'

export default function Fooddetail () {
  const params = useParams()
  return (
    <div>
      Fooddetail--{params.id} {params.name}
    </div>
  )
}
